using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace ShoppingCenter.Backend.Api.Model
{
    public class User : BaseModel
    {
        [Required]
        public string Name { get; set; }
        [Required]
        public string Password { get; set; }
        public IEnumerable<Comment> Comment { get; set; }
        public IEnumerable<Praise> Praise { get; set; } 
        public IEnumerable<Receiving_information> Receiving_information { get; set; }
        public IEnumerable<UserMsg> UserMsg { get; set; }
        public IEnumerable<Shopping_Cart> Shopping_Cart { get; set; }
        public IEnumerable<Order> Order { get; set; }
    }
}